package com.design.work322;

public class CHPostalCodeAdapter extends ChinesePostalCode implements ZipCodeValidator{

    private ChinesePostalCode chinesePostalCode;
    public CHPostalCodeAdapter(ChinesePostalCode pCode)
    {
        chinesePostalCode = pCode;
    }

    @Override
    public boolean isValidZipCode(String zip, String state) {
        return isValidChinesePcode(zip,state);
    }
}
